package com.poixsonchat.listeners;

import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.player.PlayerChatEvent;

public class ChatListener {

	@EventHandler(priority = EventPriority.HIGHEST)
	public void onPlayerChat(PlayerChatEvent event) {
		if (event.isCancelled()) return;

		Player player = event.getPlayer();


//		local chat
//		double range = user.getOptionDouble(this.optionChatRange, worldName, chatRange);
//			event.getRecipients().clear();
//		event.getRecipients().addAll(this.getLocalRecipients(player, message, range));

	}

}
